// CTPTT.h : main header file for the CTPTT application
//

#if !defined(AFX_CTPTT_H__BF0A9CCB_DA07_4E38_B432_7F04F1D26826__INCLUDED_)
#define AFX_CTPTT_H__BF0A9CCB_DA07_4E38_B432_7F04F1D26826__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

//#include "Ado.h"
#include "SysCfg.h"

/////////////////////////////////////////////////////////////////////////////
// CCTPTTApp:
// See CTPTT.cpp for the implementation of this class
//
class CImpIDispatch;

class CCTPTTApp : public CWinApp
{
public:
	CImpIDispatch*		m_pCustDisp;
	CSysCfg cfg;
	CImageList m_imglst;


private:
			BOOL InitConnection();
public:
	CCTPTTApp();

public:
	//CAdoConnection m_adoConnection;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCTPTTApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CCTPTTApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern CCTPTTApp theApp;
#ifdef MYSQLPP
	#ifdef MYSQLPP_1_7_1
		extern MysqlConnection con;
	#endif
	#ifdef MYSQLPP_3_1_0
		extern mysqlpp::Connection con;
	#endif
#endif
/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CTPTT_H__BF0A9CCB_DA07_4E38_B432_7F04F1D26826__INCLUDED_)
